<?php

namespace app\service\RpcService;

class BaseRpc
{
    protected function response($status, $msg = '', $data = [])
    {
        return json_encode(['status' => $status, 'msg' => $msg, 'data' => $data, 'time' => date('Y-m-d H:i:s')]);
    }
}